#include "Entity3D.h"

void Entity3D::Start()
{
	m_graphics.SetTexture(NULL);
	m_graphics.SetMatrixMode(WORLD_MATRIX);
	m_graphics.LoadIdentity();
}
void Entity3D::Rotate(float x , float y , float z)
{
	m_graphics.Rotate(x,y,z);
}
void Entity3D::Scale(float x , float y , float z)
{
	m_graphics.Scale(x,y,z);
}
void Entity3D::Translate(float x , float y , float z)
{
	m_graphics.Translate(x,y,z);
}
void Entity3D::DrawElements(USHORT vertexCount, D3DMeshVertex* vertices,
					USHORT indexCount, USHORT* indices,
					USHORT primCount, PRIM_TYPE primType)
{
	m_graphics.DrawElements(vertexCount, vertices, indexCount, indices, primCount, primType );
}